package jnpf.engine.enums;

/**
 * @Author:LoveMyOrange
 * @Description: 跳过策略?
 * @Date:Created in 2022/4/15 12:22

<el-option label="审批人为发起人" :value="2"></el-option>
<el-option label="审批人与上一审批节点处理人相同" :value="3"></el-option>
<el-option label="审批人审批过" :value="4"></el-option>

 */
public enum FlowSkipRuleEnums {
    CLOSE("关闭",1),
    ASSIGNEE_INITIATOR("审批人为发起人",2),
    ASSIGNEE_COMPLETED("审批人审批过",4),
    NO_CONDITION_COMPLETED("无条件自动通过",5),
    ADJACENT_NODE("相邻节点跳过",3);

    private String name;
    private Integer code;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    FlowSkipRuleEnums(String name, Integer code) {
        this.name = name;
        this.code = code;
    }

}
